home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 1
/
Gekikoh Dennoh Club Vol. 1 (Japan).7z
/
Gekikoh Dennoh Club Vol. 1 (Japan) (Track 1).bin
/
kowin
/
archive
/
sys
/
kowin14d.lzh
/
smpl
/
mtmlib
/
clock.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-02-11
|
404b
|
24 lines
/* MiniTERM v2 smpl */
#include <mtm_stdio.h>
#include <time.h>
#define MTA_WINDOW_TITLE "clock"
#define MTA_WINDOW_SIZEX 11
#define MTA_WINDOW_SIZEY 1
#define MTA_WINDOW_FONT 16
#include "mtm_conf.c"
main()
{
for(;;){
int i= time( NULL );
struct tm *tp= localtime( &i );
printf( " %2d:%02d:%02d\r",
tp->tm_hour, tp->tm_min, tp->tm_sec );
sleep( 1 );
}
}